As a couple of cheese lovers, we will try to determine which cheeses people should be eating and which we to stay away from based on the cheeses nutritional content and as they pertain to certain diets.
For example, diets such as…
Keto diet
Low calorie diet
Heart healthy diet
We downloaded our dataset from github.
https://gist.github.com/jalapic/95a72f2c2f5ccfb43e0e0ab35891d745
The cheese dataset contains information for 73 different
type of cheeses and the following 8 variables for each of
them.
sat_fat, saturated fat
polysat_fat, polyunsaturated fat
monosat_fat, monounsaturated fat
protein, protein
carb, carbohydrates
chol, cholesterol
fiber, fiber
kcal, calories.
All the numerical nutritional information will be based on 100g
Saturated Fats
They are the unhealthy fats.
They are usually solid at room temperature and can cause fatty deposits in blood vessels leading to heart disease.
Mostly found in animal products like meat and dairy
Unsaturated Fats
They are the healthy fats.
They are usually liquid at room temperature. And help reduce blood pressure and increase good cholesterol.
Usually found in plant products, oils, nuts, and fish.
To make this graph, we added a mutated variable
total_fat, by adding all three fats
(sat_fat, polysat_fat, monosat_fat) together.
This graph shows that most cheeses can be suitable for a keto diet since carbs are below 13.4g for all…
Except one, gjetost which is at 42.65g.
If you didn’t know, fiber is the best thing to possibly do for your body when eating. It help with digestion and basically helps regulate blood sugar in your body due to you being able to feel more fuller when eating things that contain fiber.
From this graph, we are able to determine that mozzarella is the best when it comes to fiber, which fiber at 1.8g. But why?
When most cheeses have 0 fiber and the few with low fiber are cheeses with some fruit or vegetable in them.
This table demonstrates which cheeses have low saturated fat which was determined by filtering cheeses that have less than 1 gram of saturated fat in them.
With this table we can see that out of the 73 cheeses, 9 are low saturated fat. So, 88% of cheeses have high saturated fat levels.
As we made this table, we noticed that the top 3 cheeses that have the lowest saturated fat are Mozzarella, Cottage, and Ricotta.
| type | sat_fat |
|---|---|
| mozzarella,non-fat | 0.000 |
| cottage,nonfat,uncrmd,dry,lrg or sml curd | 0.169 |
| past process,cheddar or american,fat-free | 0.504 |
| cottage,lowfat,1% milkfat,w/veg | 0.619 |
| cottage,lowfat,1% milkfat,no na | 0.632 |
| cottage,lowfat,1% milkfat,lactose red | 0.640 |
| cream,fat free | 0.644 |
| cottage,lowfat,1% milkfat | 0.645 |
| cottage,lowfat,2% milkfat | 0.979 |
This table is comparing the saturated fat to the total unsaturated
fat with a mutated variable unsat_fat which is
polysat_fat and monosat_fat added
together.
This table also filtered sat_fat to be less than 1g
because we want cheeses with low saturated fat levels.
We can see that even with low saturated fat levels, the unsaturated fat levels are even lower. So even though these cheeses are not as unhealthy, they are not necessarily more “heart-healthy”
| type | sat_fat | unsat_fat |
|---|---|---|
| mozzarella,non-fat | 0.000 | 0.000 |
| cottage,nonfat,uncrmd,dry,lrg or sml curd | 0.169 | 0.082 |
| past process,cheddar or american,fat-free | 0.504 | 0.254 |
| cottage,lowfat,1% milkfat,w/veg | 0.619 | 0.321 |
| cottage,lowfat,1% milkfat,no na | 0.632 | 0.315 |
| cottage,lowfat,1% milkfat,lactose red | 0.640 | 0.320 |
| cream,fat free | 0.644 | 0.307 |
| cottage,lowfat,1% milkfat | 0.645 | 0.322 |
| cottage,lowfat,2% milkfat | 0.979 | 0.513 |
It can be seen here that as unsaturated fat levels go up so do saturated fat levels.
This graph shows the relationship between sat_fat and calories, as saturated fat increases so does the calories.
For cheese to be a healthy consumption, the calories must be less than 100 per service size, which is about 28g.
Here we found that there is no relationship between protein and fat in a cheese.
But for protein and carbs, we found that cheese is generally low in carbs and has no relation to the amount of protein in a cheese.
In this table, we filtered the cheeses to sat_fat to be less than 1 gram and cholesterol to be less than 20 g and we have seen that low sat_fat also gives us low calories. We decided to arrange by protein to see which cheese will give us the highest protein levels.
cheese %>%
select(type, kcal, sat_fat, chol, protein) %>%
filter(sat_fat < 1, chol < 20) %>%
arrange(-protein) %>% kbl() %>% kable_styling()
| type | kcal | sat_fat | chol | protein |
|---|---|---|---|---|
| mozzarella,non-fat | 149 | 0.000 | 18 | 31.70 |
| past process,cheddar or american,fat-free | 148 | 0.504 | 11 | 22.50 |
| cream,fat free | 105 | 0.644 | 12 | 15.69 |
| cottage,lowfat,1% milkfat,lactose red | 74 | 0.640 | 4 | 12.40 |
| cottage,lowfat,1% milkfat,no na | 72 | 0.632 | 4 | 12.40 |
| cottage,lowfat,1% milkfat | 72 | 0.645 | 4 | 12.39 |
| cottage,lowfat,2% milkfat | 86 | 0.979 | 10 | 11.83 |
| cottage,lowfat,1% milkfat,w/veg | 67 | 0.619 | 3 | 10.90 |
| cottage,nonfat,uncrmd,dry,lrg or sml curd | 72 | 0.169 | 7 | 10.34 |
People may have a different opinion on how to determine the healthiest of the cheeses but generally cheeses with low saturated fat and high protein levels tend to be considered the healthiest.
This helped us determine that the following are the best cheeses to eat if you want a healthier diet.